package edu.notebook.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.notebook.domain.Note;

import java.util.List;

public interface NoteService {
    Boolean saveBook(Note note);
    Boolean update(Note note);
    Boolean delete(Integer id);
    Note getById(Integer id);
    List<Note> getAll();
    IPage<Note> getPage(int currentPage, int pageSize, Note note);
    List<Note> selectAllByConfidentLevel(int confidentLevel);
}
